package com.guigu.buy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public class Storage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String storage;

    private String storageId;

    private String reason;

    private Integer stockId;

    private Integer total;

    private Double amount;

    private Integer storageTotal;

    private String checkTag;

    private String register;

    private LocalDateTime registerTime;

    private String checker;

    private LocalDateTime checkTime;

    private String checkReason;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }

    public String getStorageId() {
        return storageId;
    }

    public void setStorageId(String storageId) {
        this.storageId = storageId;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getStorageTotal() {
        return storageTotal;
    }

    public void setStorageTotal(Integer storageTotal) {
        this.storageTotal = storageTotal;
    }

    public String getCheckTag() {
        return checkTag;
    }

    public void setCheckTag(String checkTag) {
        this.checkTag = checkTag;
    }

    public String getRegister() {
        return register;
    }

    public void setRegister(String register) {
        this.register = register;
    }

    public LocalDateTime getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(LocalDateTime registerTime) {
        this.registerTime = registerTime;
    }

    public String getChecker() {
        return checker;
    }

    public void setChecker(String checker) {
        this.checker = checker;
    }

    public LocalDateTime getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(LocalDateTime checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckReason() {
        return checkReason;
    }

    public void setCheckReason(String checkReason) {
        this.checkReason = checkReason;
    }

    @Override
    public String toString() {
        return "Storage{" +
            "id = " + id +
            ", storage = " + storage +
            ", storageId = " + storageId +
            ", reason = " + reason +
            ", stockId = " + stockId +
            ", total = " + total +
            ", amount = " + amount +
            ", storageTotal = " + storageTotal +
            ", checkTag = " + checkTag +
            ", register = " + register +
            ", registerTime = " + registerTime +
            ", checker = " + checker +
            ", checkTime = " + checkTime +
            ", checkReason = " + checkReason +
        "}";
    }
}
